﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="orderdetail.aspx.cs" Inherits="QunYing.Web.market.orderdetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
        $(function() {
            $("#nav_main a[href='myorder.aspx']").addClass("nav_current");
        });
    </script>
<style>
    
        #shopcart h2
        {
            background: url("images/cart_bg_05.gif") no-repeat scroll right top #AACDED;
            height: 28px;
            line-height: 28px;
        }
        #shopcart h2 strong
        {
            background: url("images/cart_bg_03.gif") no-repeat scroll left top transparent;
            display: block;
            height: 28px;
            padding: 0 20px;
        }
        .cart_table
        {
            -moz-border-bottom-colors: none;
            -moz-border-image: none;
            -moz-border-left-colors: none;
            -moz-border-right-colors: none;
            -moz-border-top-colors: none;
            border-color: #AACDED;
            border-style: solid;
            border-width: 0 3px;
            overflow: hidden;
            padding: 20px 17px 0;
        }
        .round
        {
            background: url("images/cart_bg_11.gif") repeat-x scroll 0 top transparent;
            height: 10px;
            margin-bottom: 10px;
        }
        .lround
        {
            background: url("images/cart_bg_09.gif") no-repeat scroll left top transparent;
            float: left;
            height: 10px;
            width: 10px;
        }
        .rround
        {
            background: url("images/cart_bg_10.gif") no-repeat scroll right top transparent;
            float: right;
            height: 10px;
            width: 10px;
        }
        th, td
        {
            border: 1px solid #AACDED;
            padding-left: 5px;
        }
        .navgo
        {
            text-align: right;
            margin: 10px 0px 10px 0px;
        }
        #total
        {
            text-align: right;
            background-color:#EBF4FB;
            border: 1px solid #AACDED;
            border-top:0px;
            height:30px;
            font-size:16px;
            padding:10px;
        }
        .tab 
 {
     margin-top:10px;
height: 30px;
line-height: 30px;
border-bottom: solid 1px #AACDED;
overflow: hidden;
margin-bottom: -1px;
position: relative;
}
 .tab li {
float: left;
text-align: center;
padding: 0;
height: 30px;
width: 100px;
background: url(images/vi_del_bg.png) no-repeat 0 0;
display: inline-block;
font-size: 12px;
line-height: 30px;
margin-right: -1px;
font-weight: bold;
color:#2F4F4F;
}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="shopcart">
        <h2>
            <strong>订单详情</strong>
        </h2>
       
        <div class="cart_table">
        <ul class="tab">
              <li>订单信息</li> 
          </ul>
            <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
                Width="100%" AutoGenerateColumns="False" DataKeyNames="商品ID,类型" 
                    >
                <RowStyle BackColor="White" />
                <Columns>
                    <asp:TemplateField HeaderText="商品名称">
                        <ItemTemplate>
                            <a target="_blank" href="<%# Eval("类型") %>detail.aspx?id=<%# Eval("商品ID") %>">
                                <%# Eval("商品名称")%></a>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="商品品牌" HeaderText="品牌" SortExpression="商品品牌">
                    <HeaderStyle Width="80px" />
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="单价(元)">
                        <HeaderStyle Width="80px" />
                        <ItemStyle Font-Bold="True" ForeColor="#FF3300" HorizontalAlign="Center" />
                        <ItemTemplate>
                            ￥<%# Eval("单价")%>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="积分" HeaderText="消耗积分" SortExpression="积分">
                        <HeaderStyle Width="80px" />
                        <ItemStyle Font-Bold="True" ForeColor="#FF3300" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="赠送积分" HeaderText="赠送积分" SortExpression="赠送积分">
                        <HeaderStyle Width="80px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="单位" HeaderText="单位" SortExpression="单位">
                        <HeaderStyle Width="50px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="数量" HeaderText="数量" SortExpression="数量">
                    <HeaderStyle Width="50px" />
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                </Columns>
                <FooterStyle BackColor="#EBF4FB" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    没有挑选商品
                </EmptyDataTemplate>
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#EBF4FB" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
            <div id="total">
                商品总金额：<span style="font-weight: bold; color:#FF3300">￥</span><asp:Label 
                    ID="lblTotalPrice" runat="server" Text="0.00" 
                    ForeColor="#FF3300" Font-Bold="True"></asp:Label>元 消耗积分：<asp:Label 
                    ID="lblUseScore" runat="server" Text="0" ForeColor="#FF3300" Font-Bold="True"></asp:Label> 赠送积分：<asp:Label 
                    ID="lblGetScore" runat="server" Text="0" ForeColor="#FF3300" Font-Bold="True"></asp:Label></div>

            <ul class="tab">
              <li>收货信息</li> 
          </ul>
          <div style="border:1px solid #AACDED">
           <div style="margin: 10px;">订单编号：<asp:Label ID="txtNo" runat="server"></asp:Label></div>
           <div style="margin: 10px;">收&nbsp;货&nbsp;&nbsp;人：<asp:Label ID="txtUser" runat="server"></asp:Label>
              </div>
           <div style="margin: 10px;">联系电话：<asp:Label ID="txtTel" runat="server"></asp:Label>
              </div>
           <div style="margin: 10px;">地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：<asp:Label 
                   ID="txtAddress" runat="server"></asp:Label>
              </div>
           <div style="margin: 10px;">留&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;言：<asp:Label 
                   ID="txtMsg" runat="server" ></asp:Label></div>
          </div>
           <ul class="tab">
              <li>订单状态</li> 
          </ul>
          <asp:GridView ID="GridView2" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None"
                Width="100%" AutoGenerateColumns="False" 
                    >
                <RowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="操作人" HeaderText="操作人" SortExpression="操作人" />
                    <asp:BoundField DataField="操作时间" HeaderText="操作时间" SortExpression="操作时间" 
                        DataFormatString="{0:yyyy-MM-dd HH:mm}" />
                    <asp:BoundField DataField="订单状态" HeaderText="订单状态" SortExpression="订单状态" />
                    <asp:BoundField DataField="备注" HeaderText="备注" SortExpression="备注" />
                </Columns>
                <FooterStyle BackColor="#EBF4FB" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    没有订单状态
                </EmptyDataTemplate>
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#EBF4FB" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
            <div class="navgo">
                <asp:ImageButton ID="btnCanel" runat="server" ImageUrl="~/images/canelorder.gif"
                    OnClick="btnCanel_Click" Visible="False" />
            </div>
        </div>
        <div class="round">
            <div class="lround">
            </div>
            <div class="rround">
            </div>
        </div>
    </div>
</asp:Content>
